package com.kk.service;

import com.kk.hystrix.ConsumerServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 *  @author kevin
 *  @date: 2019/11/7 17:36
 */
@FeignClient(value = "kk-cloud-service-consumer", fallback = ConsumerServiceHystrix.class)
public interface ConsumerService {

    @GetMapping("hello")
    public String hello();
}
